@include('lay.nav')
<div class="header">
    <div class="width">
        @include('lay.top')
        <div class="secon">
            <div class="logo">
                <a href="/" title="若梦TV首页">
                    <img src="http://dev.ruomengtv.com/images/logo.png" alt="若梦TV LOGO" width="100%">
                </a>
            </div>
            <div class="search">
                <form action="/search">
                    <input type="text" name="keyword" value="{{$search['keyword']}}" placeholder="关键词">
                    <button><i class="iconfont icon-sousuo"></i>搜索</button>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="header-nav">
    <div class="width">
        <a href="{{route('index')}}" @if($route =='index') class="active" @endif>爆款商品</a><i></i>
        <a href="{{route('seckill')}}" @if($route =='seckill') class="active" @endif>秒杀平台</a><i></i>
        <a href="{{route('newly')}}" @if($route =='newly') class="active" @endif>实时上新</a><i></i>
        <a href="{{route('ranking')}}" @if($route =='ranking') class="active" @endif>销量排行</a><i></i>
        <a href="{{route('mark')}}" @if($route =='mark') class="active" @endif>预约商品</a>
    </div>
</div>
